package com.cykj.chat.service;


import com.cykj.common.dto.ResponseDTO;
import com.cykj.common.entity.ChatRecordDO;

public interface IChatService {
    ResponseDTO getAllMsgs(String myRole, Integer myId, String role);

    ResponseDTO getConcretChat(String myRole, Integer myId, String yourRole, Integer yourRoleId);

    ResponseDTO writeRecord(ChatRecordDO chatRecordDO);

    ResponseDTO talkToNewOne(String myRole, Integer myId, String yourRole, Integer yourRoleId);

    ResponseDTO getCommonExpression(String role);

    ResponseDTO updateDraft(String myRole, Integer myId, String yourRole, Integer yourRoleId, String draft);

    ResponseDTO getDraft(String myRole, Integer myId, String yourRole, Integer yourRoleId);
}
